package org.wzy.springmvc.framework.servlet;

import java.util.Map;

public class MModelAndView {
	/**
	 * 页面模板
	 */
	private String view;

	/**
	 * 要往页面带过去的值
	 */
	private Map<String, Object> model;

	public MModelAndView(String view) {
		this.view = view;
	}

	public MModelAndView(String view, Map<String, Object> model) {
		this.view = view;
		this.model = model;
	}

	public String getView() {
		return view;
	}

	public void setView(String view) {
		this.view = view;
	}

	public Map<String, Object> getModel() {
		return model;
	}

	public void setModel(Map<String, Object> model) {
		this.model = model;
	}
}
